package com.my.chapter6;

public class practice5 {
    public static void main(String[] args) {
        Type1 type1 = new Type1();
        int i = type1.i;
        char c = type1.c;
        int m = type1.m;
        //String str = type1.str;
    }
}

class Type1{
    private String str;
    public int i;
    protected char c;
    int m;
    public Type1(){
        str="A";
        i=1;
        c='a';
        m=6;
    }
}
